package IO流.包装流;

public class BufferReader01 extends Reader01 {
    private Reader01 reader01;

    public BufferReader01(Reader01 reader01) {
        this.reader01 = reader01;
    }
    public void read(int num) {
        for (int i = 0; i < num; i++) {
            reader01.read();
        }
    }

    @Override
    void read() {
    }
}
